﻿using QYmall.Core.Model.WeChat;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace QYmall.Core.IServices.WeChat
{
    public interface IWeChatNotifyService
    {
        /// <summary>
        /// 确认解密回调信息
        /// </summary>
        Task<WeChatPayNotifyDecryptDto?> ConfirmAsync(HttpRequest request, int paymentId);

        /// <summary>
        /// 退款解密回调信息
        /// </summary>
        Task<WeChatPayNotifyRefundDecryptDto?> RefundAsync(HttpRequest request, int paymentId);
    }
}
